﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace BlockMain_Class
{
    /// <summary>
    /// 记录类|缓存处理类
    /// </summary>
    public class Record
    {
        /// <summary>
        /// 发布节点编号
        /// </summary>
        public int PeerId { get; set; }
        /// <summary>
        ///操作节点
        /// </summary>
        public string NowPeer { get; set; }
        /// <summary>
        /// 状态  0 新建 1 OK  -1 验证失败
        /// </summary>
        public int State { get; set; }
        /// <summary>
        /// 提交内容(节点处理的都相同,提出)
        /// </summary>
        public string JsonData { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime AddTime { get; set; }
    }
}
